home *** CD-ROM | disk | FTP | other *** search
/ Chip: 2005 Utilities / CHIP Utilities 2005 / CHIP Utilities 2005.iso / dosapps / freedos / doc / edit / readme < prev   
Encoding:
Text File  |  2002-11-28  |  2.7 KB  |  55 lines

  1. FreeDOS Edit 0.5d
  2.  
  3. Based on DFLAT TUI toolkit as described in Dr. Dobbs Journal (DDJ)
  4. See DFLAT.TXT for more information.
  5.  
  6. Compiling:
  7. Tested with Borland's Turbo C 2.01 (TC2), Turbo C++ 1.01 (TC++1), 
  8. Turbo C/C++ 3.0 (TC3), and Borland C/C++ 3.1 (TC3/BC3)
  9. Should also work with later versions.
  10.  
  11. When compiling with TC++1 or TC2 without TASM you need to ensure 
  12. NOINLINEASM is defined, either uncomment the appropriate line in 
  13. the MAKEFILE or add to video.c (presently the only inline asm is 
  14. to wait for vertical sync).  Tested with TASM v4, but should
  15. also work with earlier versions.  With NOINLINEASM defined you
  16. should define CVSYNC to use the C alternative for vertical sync
  17. in video.c otherwise no vertical syncing is done (which may be
  18. fine but could cause snow or other video glitches during refresh).
  19.  
  20. If NOCALENDAR is defined then the Calendar menu entry and corresponding
  21. popup window will be disabled (removed).  For TC2 you must
  22. either define this or define NOSTRFTIME so strftime is faked with
  23. a sprintf.  Additionally with TC2, mktime is not available so
  24. the time structure is NOT normalized (a side effect of mktime)
  25. before displaying; while it should be ok there is the chance of
  26. problems if you scroll too far from the current date.  NOCALENDAR
  27. and/or NOSTRFTIME are optional for TC++1 and later.
  28. Note: calendar.c is still compiled but is effectively empty, also 
  29. unless you add something to the 'Utility' menu, you may wish to
  30. manually remove it as well.
  31.  
  32. To compile, 1st edit MAKEFILE to match your compiler, followed by
  33. running 'make'.  You may wish to then run clean to remove object
  34. files and lib files, the executables (*.exe) will still be available.
  35. (If compiling with TC3 or earlier? under NT, you may need to ensure
  36. your environment space is not to cluttered, i.e. unset unneeded
  37. environment variables, e.g. 'set PROCESSOR_IDENTIER=', etc. before make.)
  38.  
  39. Once compiled you may wish to compress with an executable compressor
  40. such as UPX.  If upx.exe is in your path, after make or instead of
  41. 'make all' you may run 'make upx' to build and then compress edit.exe
  42.  
  43.  
  44. Known Issues:
  45. - When creating a new file, tabs are converted to spaces, when opening
  46. an existing file, tabs are shown as the ASCII symbol for a tab.
  47. - The beep() function in console.c produces warnings with TC3 if outp
  48. macro is defined (you can #undef outp to remove them for TC3, but
  49. TC++1 does not have an outp function only the macro).
  50. - the keyboard routines block control-break, presently the control-break
  51. handler is #ifdef'd out as it is unused; reenable if necessary (MESSAGE.C).
  52. - See http://www.freedos.org/bugs/ for additional bugs or to report a bug.
  53.  
  54. 20021129
  55.